<?php
    class Integral_ruleAction extends AppAction{
        public function _initialize(){
            $this->model=new App_Integral_ruleModel();
        }
        //积分规则   1101
        public function index(){
//
//            $map['r.site_id']=__SITEID__;
//            $data=$this->model->rule($map);
//            $this->callback($data);
            if($_POST['requestType']=='1101'){
                if($_POST['deviceId']){
                    $map['r.site_id']=__SITEID__;
                    $data=$this->model->rule($map);
                    $this->callback($data);
                }
            }
        }
    }